package com.study.design.adapter;

/**
 * 狗狗模拟鸭子叫
 *
 * @Author 网易云课堂微专业-java高级开发工程师【allen老师】
 * @Version 1.0
 */
public class Client {
    public static void main(String[] args) {
        Dog dog = new WildDog();
        Duck duck = new WildDogAdapter(dog);
        duck.quack();
    }
}
